package com.example.neo4j.service;

import com.example.neo4j.pojo.util.ResponseInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface UserService {
    String index();

    String addUser(String account, String password, Integer age, String gender, String email, String address, String nickname, Map<String, Object> map);

    String content(HttpServletRequest request, Map<String, Object> paramMap);

    String index(String account, String password, Map<String, Object> paramMap, HttpServletRequest request);

    ResponseInfo likeHobby(String account, Long hobbyid);

    String logout(HttpServletRequest request);

    String recommendFriendsByHobby(HttpServletRequest request, Map<String, Object> map);

    ResponseInfo unlikeHobby(String account, Long hobbyid);

    ResponseInfo followIt(String follower, String following);

    String getMyFollowing(HttpServletRequest request, Map<String, Object> map);

    String getFans(HttpServletRequest request, Map<String, Object> map);

    ResponseInfo unfollow(String follower, String following);

    String recommendFriendsByFriend(HttpServletRequest request, Map<String, Object> map);

    ResponseInfo praiseShare(String account, Integer shareid);

    ResponseInfo unpraiseShare(String account, Integer shareid);
}
